package com.hgdp.medicalexamination.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hgdp.medicalexamination.entity.Male;
import com.hgdp.medicalexamination.vo.FmaleAndMaleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @param /婚前医学检查表(男性)信息
 * @author hgdp
 * @date 2020-07-29 15:19:30
 */
@Mapper
public interface MaleMapper extends BaseMapper<Male> {

    List<String> selectAllId(@Param("id") String id);

    //按时间段查询
    List<FmaleAndMaleVo> selectByTime(Page page, @Param("startTime") String startTime, @Param("endTime") String endTime);

}
